package com.hm.common.plugin;

public class PageContext {
	private static ThreadLocal<Page> pageHolder = new ThreadLocal<Page>();

	public static Page getPage() {
		Page page = pageHolder.get();
		if (page == null) {
			page = new Page();
			pageHolder.set(page);
		}

		return page;
	}

}